//package com.prpat;
//
//
//public class SenderContainer
//{
////	private static HashMap<Long, Thread> container = new HashMap<Long, Thread>();
//	private static long counter = 0;
//
//	public static void createSender(Message mes, boolean bts) {
//		Thread client = new Thread(new Sender(mes, bts));
//		client.setName("PRPAT-Sender # "+ counter);
//		counter++;
//
////		synchronized (container) {
////			container.put(new Long(client.getId()), client);
////		}
//
//		client.start();
//	}
//
////	public static void empyContainer()
////	{
////		synchronized (container) {
////			Iterator it = container.entrySet().iterator();
////			while (it.hasNext())
////			   {
////			      Thread item = (Thread)it.next();
////			      it.remove();
////			   }
////			
////			
//////			for (Long key : container.keySet()) {
//////				try {
//////					container.remove(key).interrupt();
//////				} catch (Exception e) {
//////					System.err.println("SenderContainer, emptyContainer");
//////					System.err.println(e.getMessage());
//////				}
//////			}
////		}
////		counter = 0;
////	}
//
//}
